<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'login.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<meta property="qc:admins" content="137116066767522516375" />
	
<script type="text/javascript" src="js/jquery-1.7.2.js"></script>
  </head>
  <script type="text/javascript">
  function zhan(){
  /* alert("aaa");
    var dd=$("#dd");
    alert(dd);
    if($("#dd").style.display=="none") $("#dd").style.display="block";
    else $("#dd").style.display="none"; */
     $("#dd").toggle()//直接切换
  }
  
  </script>
  
  
  <body>
  <font style="text-align: center;">你可以直接用以下方式登录：</font><br/>
  <a href=""><img style="width:50px;height:60px" src="img/qq.jpg"></a><br/>
  <font>-----------------------------------------或-------------------------------------</font><br/>
  <a href="javascript:zhan();" style="text-align: center;margin:auto;">使用网贝账号登陆</a><br/><br/>
  <div style="display: none" id="dd">
  <form action="login" method="post">
   ${str}<br/>
      邮箱:<input type="text" name="mail" value="${mail}"><br/><br/>
      密码:<input type="password" name="password" value="${password}"><br/><br/>
   <input type="submit" value="登陆"><input type="checkbox" name="jizhu" value="cheng">记住密码 <a href="findpassword.jsp">找回密码</a><br/>
   <font size="3" color="blue">温馨提示，未经注册不能保存定制产品，敬请</font><a href="register.jsp"><font size="5" color="red">注册</font></a>
   </form> 
   </div>  
  </body>
</html>
